package umacis.lwuitcomponent.property;

public interface Constants {
	static public final int SCREEN = 0;
	static public final int DIALOG = 1;
	static public final int PANE = 2;
	
	//types
	static public final int TYPE_setOfPanes = 0;
	static public final int TYPE_screen = 1;
	static public final int TYPE_dialog = 2;
	static public final int TYPE_pane = 3;
	static public final int TYPE_label = 4;
	static public final int TYPE_button = 5;
	static public final int TYPE_tabbedPane = 6;
	static public final int TYPE_checkBox = 7;
	static public final int TYPE_radioButton = 8;
	static public final int TYPE_textArea = 9;
	static public final int TYPE_textField = 10;
	static public final int TYPE_list = 11;
	static public final int TYPE_comboBox = 12;
	static public final int TYPE_tree = 13; //??
	static public final int TYPE_progressBar = 14;  //??
	static public final int TYPE_calender = 15;
	static public final int TYPE_media = 16; //??
	
	static public final int LAYOUT = 17;
	static public final int LABEL = 18;
		
	//layouts
	static public final int LAYOUT_flow = 0;
	static public final int LAYOUT_border = 1;
	static public final int LAYOUT_box = 2;
	static public final int LAYOUT_coordinate = 3;
	static public final int LAYOUT_grid = 4;
	
	//transitions
	static public final int TRANSITION_slide = 0;
	static public final int TRANSITION_fade = 1;
	static public final int TRANSITION_cube = 2;
	static public final int TRANSITION_flyin = 3;
	static public final int TRANSITION_rotation = 4;
	static public final int TRANSITION_staticRotation = 5;
	static public final int TRANSITION_swingIn = 6;
	static public final int TRANSITION_verticalCube = 7;
	
	//listeners
	public final static int LISTENER_style = 0;
	static public final int LISTENER_focus = 0 ; //all components
	static public final int LISTENER_action = 0 ;   //button,radiobutton ,checkbox, textarea
	static public final int LISTENER_selection = 0 ; //list and combobox and tabbedpane
	static public final int LISTENER_dataChange = 0 ; //textfield and calender
	static public final int LISTENER_key = 0 ; //form
	static public final int LISTENER_gamekey = 0 ;
	
	
	
	public static final int NUMBER_OF_PROPERTIES = 123;  //rough guess for now XXX
	public static final String[] NAMES_properties = { 
		"x", "y", "Visible", "Width", /*etc XXX */ }; 
	//properties
	//component
	static public final int COMPONENT_x=0;
	static public final int COMPONENT_y = 0;
	static public final int COMPONENT_visible = 0;
	static public final int COMPONENT_width = 0;
	static public final int COMPONENT_height = 0;
	static public final int COMPONENT_preferredW = 0;
	static public final int COMPONENT_preferredH = 0;
	static public final int COMPONENT_scrollH = 0;
	static public final int COMPONENT_scrollW = 0;
	static public final int COMPONENT_isFocusable = 0;
	static public final int COMPONENT_scrollAnimationSpeed = 0 ;
	static public final int COMPONENT_smoothScrolling = 0 ;
	static public final int COMPONENT_selectedStyle = 0 ;
	static public final int COMPONENT_unSelectedStyle = 0 ;
	static public final int COMPONENT_isEnabled = 0 ;	
	//style
	public final static int STYLE_bgColor = 0;
	public final static int STYLE_fgColor = 1;
	public final static int STYLE_bgSelectionColor = 2; //deprecated
	public final static int STYLE_fgSelectionColor = 3; //deprecated
	public final static int STYLE_border = 4;
	public final static int STYLE_font = 5;
	public final static int STYLE_margin = 6;
	public final static int STYLE_padding = 7;
	public final static int STYLE_bgImage = 8;
	public final static int STYLE_transparency = 9;
	public final static int STYLE_scaledImage = 10; //deprecated
	public final static int STYLE_bgType = 11;
	public final static int STYLE_bgAlign = 12;
	public final static int STYLE_bgGradientStart = 13;
	public final static int STYLE_bgGradientEnd = 14;
	public final static int STYLE_bgGradientX = 15;
	public final static int STYLE_bgGradientY = 16;
		//there's more of these.. for instance all the selected versions...	
	
	//--container
	static public final int CONTAINER_isScrollableX = 0 ;
	static public final int CONTAINER_isScrollableY = 0 ;
	static public final int CONTAINER_layout = 0 ;
	//-----------form or screen
	static public final int SCREEN_bgImage = 0 ;
	static public final int SCREEN_isCyclicFocus = 0 ;
	static public final int SCREEN_layout = 0 ;
	static public final int SCREEN_tintColor = 0 ;
	static public final int SCREEN_transitionInAnimator = 0 ;
	static public final int SCREEN_transitionOutAnimator = 0 ;
	
	//---------------------dialog
	static public final int DIALOG_showPacked = 0 ;
	static public final int DIALOG_showModeless = 0 ;
	static public final int DIALOG_showNormal = 0 ;
	static public final int DIALOG_marginTop = 0 ;
	static public final int DIALOG_marginBotton = 0 ;
	static public final int DIALOG_marginLeft = 0 ;
	static public final int DIALOG_marginRight = 0 ;
	static public final int DIALOG_isDisableStaticDialogScrolling = 0 ;
	static public final int DIALOG_dialogType = 0 ;
	static public final int DIALOG_isAutoDispose = 0 ;
	static public final int DIALOG_isAutoAdjustDialogSize = 0 ;
	//-----------tabbedpane
	static public final int TABBEDPANE_paddingOrientation = 0 ;
	static public final int TABBEDPANE_paddingGap = 0 ;
	static public final int TABBEDPANE_paddingTop = 0 ;
	static public final int TABBEDPANE_paddingBottom = 0 ;
	static public final int TABBEDPANE_paddingLeft = 0 ;
	static public final int TABBEDPANE_paddingRight = 0 ;
	static public final int TABBEDPANE_tabbedPaneBorderWidth = 0 ;
	static public final int TABBEDPANE_tabPlacement = 0 ;
	static public final int TABBEDPANE_setTabTitleAndIcon = 0 ;
	static public final int TABBEDPANE_icons = 0 ;
	static public final int TABBEDPANE_transitionLeft = 0 ;
	static public final int TABBEDPANE_transitionRight = 0 ;
	
	//--label
	static public final int LABEL_alignment = 0 ;
	static public final int LABEL_gap = 0 ;
	static public final int LABEL_icon = 0 ;
	static public final int LABEL_shiftText = 0 ;
	static public final int LABEL_text = 0 ;
	static public final int LABEL_textPosition = 0 ;
	static public final int LABEL_isTickerEnabled = 0 ;
	static public final int LABEL_verticalAlignment = 0 ;
	static public final int LABEL_shouldTickerStart = 0 ;
	//-----------button
	static public final int BUTTON_pressedIcon = 0 ;
	static public final int BUTTON_rollOverIcon = 0 ;
	//-----------radiobutton and checkbox
	static public final int RADIOCHECKBOX_isSelected = 0 ;
	
	//--list
	static public final int LIST_bordergap = 0 ;
	static public final int LIST_handlesinput = 0 ;
	static public final int LIST_listCellRenderer = 0 ;
	static public final int LIST_minElementHeight = 0 ;
	static public final int LIST_model = 0 ;
	static public final int LIST_numericKeyActions = 0 ;
	static public final int LIST_orientation = 0 ;
	static public final int LIST_selectedIndex = 0 ;
	
	//--textarea
	static public final int TEXTAREA_columns = 0 ;
	static public final int TEXTAREA_constraint = 0 ;
	static public final int TEXTAREA_defaultMaxSize = 0 ;
	static public final int TEXTAREA_isEditable = 0 ;
	static public final int TEXTAREA_isGrowByContent = 0 ;
	static public final int TEXTAREA_linesToScroll = 0 ;
	static public final int TEXTAREA_isSingleLineTextArea = 0 ;
	static public final int TEXTAREA_width = 0 ;
	//---------------textfield
	static public final int TEXTFIELD_inputMode = 0 ;
	static public final int TEXTFIELD_commitTimeout = 0 ;
	static public final int TEXTFIELD_clearText = 0 ;
	static public final int TEXTFIELD_cursorBlinkTimeOff = 0 ;
	static public final int TEXTFIELD_cursorBlinkTimeOn = 0 ;
	static public final int TEXTFIELD_defaultChangeInputModeKey = 0 ;
	static public final int TEXTFIELD_defaultInputModeOrder = 0 ;
	static public final int TEXTFIELD_enableInputScroll = 0 ;
	static public final int TEXTFIELD_isLeftAndRightEditingTrigger = 0 ;
	static public final int TEXTFIELD_isOverwriteMode = 0 ;
	static public final int TEXTFIELD_isQwertyAutoDetect = 0 ;
	static public final int TEXTFIELD_isQwertyDevice = 0 ;
	static public final int TEXTFIELD_isQwertyInput = 0 ;
	static public final int TEXTFIELD_isReplaceMenu = 0 ;
	static public final int TEXTFIELD_isReplaceMenuDefault = 0 ;
	static public final int TEXTFIELD_symbolTable = 0 ;
	static public final int TEXTFIELD_T9Text = 0 ;
	static public final int TEXTFIELD_useSoftkeys = 0 ;
	static public final int TEXTFIELD_virtualKeyboardText = 0 ;
	
	
	
	//DefaultListCellRenderer component you can only set to a list..
	static public final int DEFAULTLISTCELLRENDERER_selectionTransparency = 0 ;
	static public final int DEFAULTLISTCELLRENDERER_isShowNumbers = 0 ;
	

}
